package com.zhixun.zhlq.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zhixun.zhlq.entity.SysLogsEntity;
import com.zhixun.zhlq.entity.vo.SysLogsVO;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 
 *
 * @ClassName: SysLogsService
 * @Author: eollse-wj
 * @Date: 2019-12-20 16:19:04
 * @Description:
 */
public interface SysLogsService extends IService<SysLogsEntity> {

    PageInfo<SysLogsVO> getList(Map<String, Object> param);

    Map<String, Object> statistics();

    /**
     *
     * @param request
     * @param action 动作：register、login、read、create、update、delete
     * @param msg 操作详情
     * @param userId 操作人
     * @param name 操作人名字
     * @return
     */
    int add(HttpServletRequest request, String action, String msg, Long userId, String name);

    PageInfo<SysLogsVO> listStatistics(Map<String, Object> param);
}

